# 循环序列

for i in [1,2,3,4,5]:
    print(i)


sum = 0
# 从1写到100有点困难,就用range函数,注意不包括101
for x in range(101):
    sum += x

print(sum)

# while 循环

n = 0
while n <= 100:
    if n > 10:
        break
    print(n)
    n = n +1 # n++ 这种写法报错

m = 1

print(m % 2)
while m < 100:
    if m % 2 == 0:
        m = m + 1
        continue
    else:
        print(m)
        m = m + 1
    
    
